#ifndef _UDPEVENTMONITOR_H_
#define _UDPEVENTMONITOR_H_

#include "netfwd.h"

#pragma once

class UDPEventMonitor
{
public:
    virtual ~UDPEventMonitor() throw() {}
    virtual int32_t on_connect( UDPSession * udp_session ) = 0;
    virtual int32_t on_read( UDPSession * udp_session ) = 0;
    virtual int32_t on_disconnect( UDPSession * udp_session ) = 0;
    virtual int32_t on_connect_failed( UDPSession * udp_session ) = 0;
};

#endif // _UDPEVENTMONITOR_H_

